package com.qyhl.module_practice.map;


import com.qyhl.webtv.commonlib.entity.civilized.PracticeListBean;

import java.util.List;

public class PracticeMapPresenter implements PracticeMapContract.PracticeMapPresenter {
    private PracticeMapActivity mView;
    private PracticeMapModel mModel;

    PracticeMapPresenter(PracticeMapActivity mView) {
        this.mView = mView;
        this.mModel = new PracticeMapModel(this);
    }

    @Override
    public void getList(String instId) {
        mModel.getList(instId);
    }

    @Override
    public void setList(List<PracticeListBean> beanList) {
        mView.setList(beanList);
    }

    @Override
    public void setError(String msg) {
        mView.setError(msg);
    }
}
